package com.sizu.common.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author Mht
 * @since 2020-02-21
 */
@Data
public class TPurchaseListZyxDto extends Page {


private Integer id;

    private Float amountPaid;

    private Float amountPayable;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date purchaseDate;
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date purchaseDateStart;
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date purchaseDateEnd;

    private String remarks;

    private Integer state;

    private String purchaseNumber;

    private Integer supplierId;

    private Integer userId;

    private String userName;

    private String supplierName;

}
